<?	$aRoles = explode( "," , $this->oUserSession->getRol( $this->cModule ) ) ;
$this->aAcciones[CONSULTAR_MENU]	= array ( "cNombre" => "Consultar Menues", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[VER_MENU]	= array ( "cNombre" => "Ver Menu", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 4 );
$this->aAcciones[CONSULTAR_CONTENIDOS]	= array ( "cNombre" => "Consultar Contenidos", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[VER_CONTENIDO]	= array ( "cNombre" => "Ver Contenido", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 4 );
$this->aAcciones[CONSULTAR_TERMINOS_PORTAL]	= array ( "cNombre" => "Consultar Terminos", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[CONSULTAR_MENU_CONTENIDO]	= array ( "cNombre" => "Consultar Menu_Contenido", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[VER_MENU_CONTENIDO]	= array ( "cNombre" => "Ver menu contenido", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[CONSULTAR_PRODUCTOS]	= array ( "cNombre" => "Consultar Productos", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[VER_PRODUCTO]	= array ( "cNombre" => "Ver Producto", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 3 );
$this->aAcciones[CONSULTAR_DESCARGAS]	= array ( "cNombre" => "Consultar Descargas", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[VER_DESCARGA]	= array ( "cNombre" => "Ver Descarga", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 3 );
$this->aAcciones[AGREGAR_USUARIOPORTAL]	= array ( "cNombre" => "Agregar UsuarioPortal", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
if (   in_array( 1, $aRoles)   ) {
$this->aAcciones[AGREGAR_MENU]	= array ( "cNombre" => "Agregar Menu", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_MENU]	= array ( "cNombre" => "Modificar Menu", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_MENU]	= array ( "cNombre" => "Eliminar Menu", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[AGREGAR_CONTENIDO]	= array ( "cNombre" => "Agregar Contenido", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_CONTENIDO]	= array ( "cNombre" => "Modificar Contenido", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_CONTENIDO]	= array ( "cNombre" => "Eliminar Contenido", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[AGREGAR_TERMINO_PORTAL]	= array ( "cNombre" => "Agregar Termino", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_TERMINO_PORTAL]	= array ( "cNombre" => "Modificar Termino", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_TERMINO_PORTAL]	= array ( "cNombre" => "Eliminar Termino", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[MODIFCAR_ORDEN_MENU]	= array ( "cNombre" => "Modifcar Orden Menu", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[MODIFICAR_ORDER_CONTENIDO]	= array ( "cNombre" => "Modificar orden Contenido", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[AGREGAR_MENU_CONTENIDO]	= array ( "cNombre" => "Agregar Menu_Contenido", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_MENU_CONTENIDO]	= array ( "cNombre" => "Modificar Menu_Contenido", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_MENU_CONTENIDO]	= array ( "cNombre" => "Eliminar Menu_Contenido", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[AGREGAR_PRODUCTO]	= array ( "cNombre" => "Agregar Producto", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_PRODUCTO]	= array ( "cNombre" => "Modificar Producto", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_PRODUCTO]	= array ( "cNombre" => "Eliminar permanentemente", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[AGREGAR_DESCARGA]	= array ( "cNombre" => "Agregar Descarga", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_DESCARGA]	= array ( "cNombre" => "Modificar Descarga", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_DESCARGA]	= array ( "cNombre" => "Eliminar Descarga", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[CONSULTAR_USUARIOSPORTAL]	= array ( "cNombre" => "Consultar UsuariosPortal", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[MODIFICAR_USUARIOPORTAL]	= array ( "cNombre" => "Modificar UsuarioPortal", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[VER_USUARIOPORTAL]	= array ( "cNombre" => "Ver UsuarioPortal", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 3 );
$this->aAcciones[ELIMINAR_NOTICIARELACIONADA]	= array ( "cNombre" => "Eliminar NoticiaRelacionada", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[CONSULTAR_MENUFOTO]	= array ( "cNombre" => "Consultar MenuFoto", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[AGREGAR_MENUFOTO]	= array ( "cNombre" => "Agregar MenuFoto", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_MENUFOTO]	= array ( "cNombre" => "Modificar MenuFoto", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_MENUFOTO]	= array ( "cNombre" => "Eliminar MenuFoto", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[CONSULTAR_NOTICIAMEDIO]	= array ( "cNombre" => "Consultar NoticiaMedio", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[AGREGAR_NOTICIAMEDIO]	= array ( "cNombre" => "Agregar NoticiaMedio", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_NOTICIAMEDIO]	= array ( "cNombre" => "Modificar NoticiaMedio", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_NOTICIAMEDIO]	= array ( "cNombre" => "Eliminar NoticiaMedio", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[CONSULTAR_PLANTILLAS]	= array ( "cNombre" => "Consultar Plantillas", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[AGREGAR_PLANTILLA]	= array ( "cNombre" => "Agregar Plantilla", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_PLANTILLA]	= array ( "cNombre" => "Modificar Plantilla", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_PLANTILLA]	= array ( "cNombre" => "Eliminar Plantilla", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[VER_PLANTILLA]	= array ( "cNombre" => "Ver Plantilla", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 3 );
$this->aAcciones[CONSULTAR_PLANTILLA_DETALLES]	= array ( "cNombre" => "Consultar PLANTILLA_DETALLES", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[AGREGAR_PLANTILLA_DETALLE]	= array ( "cNombre" => "Agregar PLANTILLA_DETALLE", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_PLANTILLA_DETALLE]	= array ( "cNombre" => "Modificar PLANTILLA_DETALLE", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_PLANTILLA_DETALLE]	= array ( "cNombre" => "Eliminar PLANTILLA_DETALLE", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[TRASH_PRODUCTO]	= array ( "cNombre" => "Mover a papelera", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "trash.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[UNTRASH_PRODUCTO]	= array ( "cNombre" => "Restaurar", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "untrash.gif", "ncModo" => 1, "nMaxTask" => 1 );
}
if (   in_array( 1, $aRoles)   ||  in_array( 2, $aRoles)   ) {
$this->aAcciones[ELIMINAR_USUARIOPORTAL]	= array ( "cNombre" => "Eliminar UsuarioPortal", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[MODIFICAR_ESTRELLA_CONTENIDO]	= array ( "cNombre" => "Modificar Estrella Contenido", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[ACTUALIZAR_TAG_CONTENIDOS]	= array ( "cNombre" => "Actualizar Tag Contenido", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[MODIFICAR_ESTRELLA_MENU]	= array ( "cNombre" => "Modificar Estrella Contenido", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[ACTUALIZAR_TAG_MENUS]	= array ( "cNombre" => "Actualizar Tag Contenido", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1, "nMaxTask" => 1 );
}
if (   in_array( 1, $aRoles)   ||  in_array( 3, $aRoles)   ) {
$this->aAcciones[CONSULTAR_NOTICIAS]	= array ( "cNombre" => "Consultar Noticias", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[AGREGAR_NOTICIA]	= array ( "cNombre" => "Agregar Noticia", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_NOTICIA]	= array ( "cNombre" => "Modificar Noticia", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_NOTICIA]	= array ( "cNombre" => "Eliminar Noticia", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[VER_NOTICIA]	= array ( "cNombre" => "Ver Noticia", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 3 );
$this->aAcciones[CONSULTAR_NOTICIARELACIONADA]	= array ( "cNombre" => "Consultar NoticiaRelacionada", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[AGREGAR_NOTICIARELACIONADA]	= array ( "cNombre" => "Agregar NoticiaRelacionada", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_NOTICIARELACIONADA]	= array ( "cNombre" => "Modificar NoticiaRelacionada", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[CONSULTAR_NOTICIAFOTO]	= array ( "cNombre" => "Consultar NoticiaFoto", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1 );
$this->aAcciones[AGREGAR_NOTICIAFOTO]	= array ( "cNombre" => "Agregar NoticiaFoto", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "agregar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[MODIFICAR_NOTICIAFOTO]	= array ( "cNombre" => "Modificar NoticiaFoto", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "modificar.gif", "ncModo" => 1, "nMaxTask" => 2 );
$this->aAcciones[ELIMINAR_NOTICIAFOTO]	= array ( "cNombre" => "Eliminar NoticiaFoto", "cParametros" => "", "ncTipoAccion" => 1, "cIcono" => "eliminar.gif", "ncModo" => 1, "nMaxTask" => 1 );
$this->aAcciones[ACTUALIZAR_TAG_NOTICIA]	= array ( "cNombre" => "Actualizar Tag Noticia", "cParametros" => "", "ncTipoAccion" => 3, "cIcono" => "ver.gif", "ncModo" => 1, "nMaxTask" => 1 );
}
?>